-
Home
-
YayPricing – WooCommerce Dynamic Pricing & Discounts
-
2.4.1
-
Code
-
Classes
- YAYDP_Cart_Item
Total Complexity |
33 |
Dependencies |
4 |
Dependents |
10 |
Total lines |
272 |
Lines of code |
139 |
Logical lines of code |
70 |
Comment lines |
94 |
Methods |
18 |
Properties |
7 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_prices_based_on_quantity() |
S |
51 |
7 |
26 |
__construct() |
S |
53 |
7 |
23 |
get_available_tooltips() |
S |
62 |
3 |
12 |
get_modified_price_html_for_normal_item() |
S |
55 |
1 |
21 |
get_modified_price_html_for_extra_item() |
S |
60 |
1 |
15 |
get_modified_price_html() |
S |
72 |
2 |
6 |
get_modifiers() |
S |
82 |
1 |
3 |
can_modify() |
S |
80 |
1 |
3 |
add_modifier() |
S |
77 |
1 |
3 |
get_key() |
S |
82 |
1 |
3 |
get_extra_data() |
S |
82 |
1 |
3 |
is_extra() |
S |
82 |
1 |
3 |
get_product() |
S |
82 |
1 |
3 |
set_price() |
S |
80 |
1 |
3 |
get_price() |
S |
80 |
1 |
3 |
set_quantity() |
S |
80 |
1 |
3 |
get_quantity() |
S |
80 |
1 |
3 |
clear_modifiers() |
S |
81 |
1 |
3 |